package net.thellium.ddiameter.internal;

import net.thellium.ddiameter.protocol.AVPDictionary;
import net.thellium.ddiameter.protocol.avp.parser.AVPValueParser;
import net.thellium.ddiameter.protocol.avp.parser.OctetStringParser;
import net.thellium.ddiameter.protocol.dictonary.impl.AVPDictionaryImpl;

import com.google.inject.AbstractModule;
import com.google.inject.Singleton;
import com.google.inject.name.Names;

public class MainModule extends AbstractModule{

	@Override
	protected void configure() {
		bind(AVPDictionary.class).to(AVPDictionaryImpl.class);
		bind(AVPValueParser.class).annotatedWith(Names.named("octetStringParser")).to(OctetStringParser.class).in(Singleton.class);
		
	}

}
